* Create a database with imported input shares from WIOD, OECD and JN, and IFS, PWT and LV key variables

cd "Empirics/AggregateData/Database"
clear
set more off

* WIOD prep
qui do "WIOD/Import shares WIOD.do"
qui do "WIOD/Export shares WIOD.do"
qui do "WIOD/Merge WIOD.do"

* OECD prep
qui do "OECD/Import Shares OECD INPUTS.do"
qui do "OECD/Import Shares OECD FINAL GOODS.do"
qui do "OECD/Merge OECD.do"

* Johnson-Noguera
qui do "JN/JN.do"

* IFS
qui do "IFS/IFS.do"

* PWT
qui do "PWT/PWT.do"

* Laeven-Valencia
qui do "LV/LV.do"

* WDI Tariffs
qui do "WDITariffs/Tariffs.do"

* MERGE WIOD—OECD—JN—IFS—PWT—LV—WDI
qui do "Merge.do"

cd ..
cd ..
cd ..

